package com.crm.aftersale.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.crm.aftersale.domain.ReGoods;
import com.crm.aftersale.domain.query.ReGoodsQuery;
import com.crm.aftersale.domain.vo.ReGoodsVo;
import com.crm.base.domain.AjaxResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-07-22
 */
public interface IReGoodsService extends IService<ReGoods> {

    AjaxResult findReGoods(ReGoodsQuery reGoodsQuery);

    ReGoodsVo findByOrderId(Integer orderId);

    Integer addReGoods(ReGoods reGoods, HttpServletRequest request);

    Integer updateReGoods(ReGoods reGoods, HttpServletRequest request);

    Integer deleteReGoods(ReGoods reGoods);

    AjaxResult fileDown(HttpServletResponse response);
    Integer updateType(ReGoods reGoods, HttpServletRequest req);
}
